#ifndef BOTON_H_
#define BOTON_H_

#include "SDL/SDL.h"
#include "SDL/SDL_ttf.h"
#include "../../Utils/Image.h"


using namespace std;

class Boton
{
    private:
    int x;
    int y;
    int alto;
    int ancho;
    string texto;
    int estado;                   //Click o No Click
    unsigned int paso;            //En que paso de la solapa esta
    unsigned int id;                       //Para determinar funcionalidad

    TTF_Font* font14;
    TTF_Font* fontSymbol;

    public:
    //Getters
    int getX();
    int getY();
    int getAlto();
    int getAncho();
    string getTexto();
    TTF_Font* getFont14();
    int getEstado();
    unsigned int getPaso();
    unsigned int getId();
    TTF_Font* getFontSymbol();

    void setEstado(int i);
    Boton( int x, int y, int w, int h, string desc, unsigned int p, unsigned int code );
    bool handleBoton(SDL_Event event, int s_x, int s_y);
    void handleBoton(SDL_Event event, int s_x, int s_y, SDL_Rect* cam, int cant_elem );
    void dibujarBoton(SDL_Surface* surface);
};

#endif /* BOTON_H_ */
